home *** CD-ROM | disk | FTP | other *** search
- Path: solon.com!not-for-mail
- From: seebs@solutions.solon.com (Peter Seebach)
- Newsgroups: comp.lang.ada,comp.lang.c,comp.lang.c++,comp.edu
- Subject: Re: ANSI C and POSIX (was Re: C/C++ knocks the crap out of Ada)
- Date: 13 Apr 1996 18:13:30 -0500
- Organization: Usenet Fact Police (Undercover)
- Message-ID: <4kpceq$e4b@solutions.solon.com>
- References: <JSA.96Feb16135027@organon.com> <dewar.829345962@schonberg> <4knqun$ga1@nntp.Stanford.EDU> <dewar.829399701@schonberg>
- Reply-To: seebs@solon.com
- NNTP-Posting-Host: solutions.solon.com
-
- In article <dewar.829399701@schonberg>, Robert Dewar <dewar@cs.nyu.edu> wrote:
- >indicates ANSI/Unix/Xenix/DOS/OS2 compatibility. There are many cases
- >where the ANSI box is checked and other boxes are not. For instance,
- >unlink is compatible with all systems but is NOT ANSI, on the other
- >hand delete, which is the ANSI version, is not available on all systems.
-
- delete() is not ANSI. remove() is ANSI. I have never seen a system that
- didn't offer it, since the 3b1. It's certainly trivial to write. (A good
- patch for portability is to write standard code, and have a set of
- conditionally built modules to provide the standard functions in terms
- of the not-standard but available on all old systems functions.)
-
- -s
- --
- Peter Seebach - seebs@solon.com - Copyright 1996 Peter Seebach.
- C/Unix wizard -- C/Unix questions? Send mail for help. No, really!
- FUCK the communications decency act. Goddamned government. [literally.]
- The *other* C FAQ - http://www.solon.com/~seebs/c/c-iaq.html
-